package it.uniba.di.mas.jpnde.core;

import jade.util.leap.Serializable;

public class ScriptFunction implements Serializable{
	public static String ON_INITIAL_MARKING="initialMarking";
	public static String ON_ADD="add";
	public static String ON_ACTIVATION="activation";
	
	private String onEvent="";
	private String body="";
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	public String getOnEvent() {
		return onEvent;
	}
	public void setOnEvent(String onEvent) {
		this.onEvent = onEvent;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}

	public String toString() {
		return "Function [onEvent=" + onEvent +", body=" + body + "]";
	}
	
	
}
